package com.duke.shaking.pojo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class User implements Serializable {

	private static final long serialVersionUID = -2909818340087405808L;
	
	public static final int level_vip_year = 4;
	
	public static final int sex_unk = 0;
	public static final int sex_male = 2;
	public static final int sex_female = 1;
	// 1: normal; -1: block
	public static final int STATUS_NORMAL = 1;
	public static final int STATUS_BLOCK = -1;
	
	public static final int MIN_JOB = 0;
	public static final int MAX_JOB = 11;
	public static final int NO_JOB = 0;
	
	private Integer sex;
	private String telNo;
	private String userId;
	private boolean hasLogin;
	private Date birth;
	private Integer job;
	private String school;
	private Integer cityLive;
	private String nickname;
	private String avatarUrl;
	private String authToken;
	private List<Integer> hobbies;
	private Date regDate;
	private Integer status;
	private String signature;
	private Integer level;
	private Integer age;
	private String password;
	private Integer coins;
	
	public Integer getSex() {
		return sex;
	}
	public void setSex(Integer sex) {
		this.sex = sex;
	}
	public String getTelNo() {
		return telNo;
	}
	public void setTelNo(String telNo) {
		this.telNo = telNo;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public boolean hasLogin() {
		return hasLogin;
	}
	public void setHasLogin(boolean hasLogin) {
		this.hasLogin = hasLogin;
	}
	public Date getBirth() {
		return birth;
	}
	public void setBirth(Date birth) {
		this.birth = birth;
	}
	public Integer getJob() {
		return job;
	}
	public void setJob(Integer job) {
		this.job = job;
	}
	public String getSchool() {
		return school;
	}
	public void setSchool(String school) {
		this.school = school;
	}
	public Integer getCityLive() {
		return cityLive;
	}
	public void setCityLive(Integer cityLive) {
		this.cityLive = cityLive;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public String getAvatarUrl() {
		return avatarUrl;
	}
	public void setAvatarUrl(String avatarUrl) {
		this.avatarUrl = avatarUrl;
	}
	public String getAuthToken() {
		return authToken;
	}
	public void setAuthToken(String authToken) {
		this.authToken = authToken;
	}
	public List<Integer> getHobbies() {
		return hobbies;
	}
	public void setHobbies(List<Integer> hobbies) {
		this.hobbies = hobbies;
	}
	public Date getRegDate() {
		return regDate;
	}
	public void setRegDate(Date regDate) {
		this.regDate = regDate;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getSignature() {
		return signature;
	}
	public void setSignature(String signature) {
		this.signature = signature;
	}
	public Integer getLevel() {
		return level;
	}
	public void setLevel(Integer level) {
		this.level = level;
	}
	public Integer getAge() {
		return age;
	}
	
	public void setAge(Integer age) {
		this.age = age;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Integer getCoins() {
		return coins;
	}
	public void setCoins(Integer coins) {
		this.coins = coins;
	}
	
}
